home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 6584 / 6584.xpi / chrome / flashvideodownloader / content / options.xul < prev    next >
Extensible Markup Language  |  2009-11-18  |  5KB  |  128 lines

  1. ∩╗┐<?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3.  
  4. <prefwindow id="FVDownloaderPreferences"
  5.  
  6.         windowtype="Browser:Preferences"
  7.         title="FVDownloader Options"
  8.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.         xmlns:html="http://www.w3.org/1999/xhtml"
  10.         type="prefwindow"
  11.         onload="FlashVDOptions.init()"
  12.         ondialogaccept="FlashVDOptions.acceptEdit()"
  13.         >
  14.     <prefpane id="pane1-general" label="General options" flex="1">
  15.  
  16.         <preferences>
  17.             <!-- current logic is too complicated to use preference for hotkeys - refactoring neded
  18.  
  19.             <preference id="hotkey" name="FlashVD.options.hotkey" type="string"/>
  20.             <preference id="hot_mod" name="FlashVD.options.hot_mod" type="string"/>
  21.             -->
  22.             <preference id="favorite_folder" name="FlashVD.options.favorite-folder" type="unichar"/>
  23.             <preference id="adult_notification" name="FlashVD.options.adult_notification" type="string"/>
  24.             
  25.         </preferences>
  26.         
  27.         <tabbox flex="1">
  28.             <tabs>
  29.                 <tab label="General settings"/>
  30.             </tabs>
  31.         
  32.             <tabpanels flex="1">
  33.                 <tabpanel orient="vertical" flex="1">
  34.                     <spacer height="2" />
  35.                     <caption style="font-weight:bold;font-size:150%;" label="Hotkey" />
  36.                     <spacer height="5" />
  37.                     <box orient="horizontal">
  38.                         <spacer flex="1"/>
  39.                         <box orient="vertical">
  40.                             <box orient="horizontal">
  41.                                 <box style="font-size:140%;">
  42.                                     <label value="ctrl +" />
  43.                                 </box>
  44.                                 <menulist id="opt_hotm" sizetopopup="none" style="width:62px;">
  45.                                     <menupopup onpopuphidden='FlashVDOptions.set_hotm();'>
  46.                                         <menuitem label=" alt" value="alt"/>
  47.                                         <menuitem label="shift" value="shift"/>
  48.                                     </menupopup>
  49.                                 </menulist>
  50.                                 <box style="font-size:140%;">
  51.                                     <label value="+" />
  52.                                 </box>
  53.                                 <menulist id="opt_hotk" sizetopopup="none" style="width:40px;">
  54.                                     <menupopup onpopuphidden='FlashVDOptions.set_hotk();'>
  55.                                         <menuitem label="A" value="A"/>
  56.                                         <menuitem label="B" value="B"/>
  57.                                         <menuitem label="C" value="C"/>
  58.                                         <menuitem label="D" value="D"/>
  59.                                         <menuitem label="E" value="E"/>
  60.                                         <menuitem label="F" value="F"/>
  61.                                         <menuitem label="G" value="G"/>
  62.                                         <menuitem label="H" value="H"/>
  63.                                         <menuitem label="I" value="I"/>
  64.                                         <menuitem label="J" value="J"/>
  65.                                         <menuitem label="K" value="K"/>
  66.                                         <menuitem label="L" value="L"/>
  67.                                         <menuitem label="M" value="M"/>
  68.                                         <menuitem label="N" value="N"/>
  69.                                         <menuitem label="O" value="O"/>
  70.                                         <menuitem label="P" value="P"/>
  71.                                         <menuitem label="Q" value="Q"/>
  72.                                         <menuitem label="R" value="R"/>
  73.                                         <menuitem label="S" value="S"/>
  74.                                         <menuitem label="T" value="T"/>
  75.                                         <menuitem label="U" value="U"/>
  76.                                         <menuitem label="V" value="V"/>
  77.                                         <menuitem label="W" value="W"/>
  78.                                         <menuitem label="X" value="X"/>
  79.                                         <menuitem label="Y" value="Y"/>
  80.                                         <menuitem label="Z" value="Z"/>
  81.                                     </menupopup>
  82.                                 </menulist>
  83.                             </box>
  84.                             <label style="color:gray;font-size:80%;" value="enabled after restart browser" />
  85.                         </box>
  86.                         <spacer flex="1"/>
  87.                     </box>
  88.  
  89.  
  90.                     <spacer height="9" />
  91.                     <separator class="groove"/>
  92.  
  93.  
  94.                     <spacer height="9" />
  95.                     <caption style="font-weight:bold;font-size:150%;" label="Favorite folder" />
  96.                     <spacer height="5" />
  97.                     <box orient="horizontal">
  98.                         <button label="Choose" style="width:30px;" oncommand="FlashVDOptions.get_folder();" />
  99.                         <textbox id="fav_folder_text" preference="favorite_folder" style="width:132px;"/>
  100.                     </box>
  101.                     <spacer height="9" />
  102.                     <separator class="groove"/>
  103.  
  104.                     <spacer height="9" />
  105.                     <caption style="font-weight:bold;font-size:150%;" label="Adult materials notification" />
  106.                     <spacer height="5" />
  107.                     <box orient="horizontal">
  108.                         <checkbox preference="adult_notification" label="Show adult Warning Page"/>
  109.                     </box>
  110.                     <spacer height="9" />
  111.                     <separator class="groove"/>
  112.  
  113.                     <spacer height="9" />
  114.                     <caption style="font-weight:bold;font-size:150%;" label="Restore Default Settings" />
  115.                     <spacer height="5" />
  116.                     <box orient="horizontal">
  117.                         <button label="Reset" style="width:30px;" oncommand="FlashVDOptions.restore_defaults();" />
  118.                     </box>
  119.                     <spacer height="2" />        
  120.                 </tabpanel>
  121.             </tabpanels>
  122.         </tabbox>
  123.     </prefpane>
  124.  
  125.  
  126.     <script type="application/x-javascript" src="chrome://flashvideodownloader/content/options.js"/>
  127.  
  128. </prefwindow>